[INFO] fetching crate substreams-helper 0.0.2...
[INFO] checking substreams-helper-0.0.2 against master#98e1f041b6e33598a18edb928ec9db93a850c6cb for pr-101680
[INFO] extracting crate substreams-helper 0.0.2 into /workspace/builds/worker-2/source
[INFO] validating manifest of crates.io crate substreams-helper 0.0.2 on toolchain 98e1f041b6e33598a18edb928ec9db93a850c6cb
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+98e1f041b6e33598a18edb928ec9db93a850c6cb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-2/source/rust-toolchain.toml
[INFO] started tweaking crates.io crate substreams-helper 0.0.2
[INFO] finished tweaking crates.io crate substreams-helper 0.0.2
[INFO] tweaked toml for crates.io crate substreams-helper 0.0.2 written to /workspace/builds/worker-2/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+98e1f041b6e33598a18edb928ec9db93a850c6cb" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+98e1f041b6e33598a18edb928ec9db93a850c6cb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded keccak v0.1.2
[INFO] [stderr]   Downloaded impl-rlp v0.3.0
[INFO] [stderr]   Downloaded rlp v0.5.1
[INFO] [stderr]   Downloaded impl-codec v0.6.0
[INFO] [stderr]   Downloaded bitvec v1.0.1
[INFO] [stderr]   Downloaded uint v0.9.3
[INFO] [stderr]   Downloaded multimap v0.8.3
[INFO] [stderr]   Downloaded prost-derive v0.11.0
[INFO] [stderr]   Downloaded prost v0.11.0
[INFO] [stderr]   Downloaded wee_alloc v0.4.5
[INFO] [stderr]   Downloaded sha3 v0.10.4
[INFO] [stderr]   Downloaded parity-scale-codec v3.2.0
[INFO] [stderr]   Downloaded radium v0.7.0
[INFO] [stderr]   Downloaded substreams-macro v0.0.20
[INFO] [stderr]   Downloaded substreams v0.0.20
[INFO] [stderr]   Downloaded substreams-ethereum-core v0.1.9
[INFO] [stderr]   Downloaded ethabi v17.2.0
[INFO] [stderr]   Downloaded ethbloom v0.12.1
[INFO] [stderr]   Downloaded memory_units v0.4.0
[INFO] [stderr]   Downloaded which v4.3.0
[INFO] [stderr]   Downloaded ethereum-types v0.13.1
[INFO] [stderr]   Downloaded pad v0.1.6
[INFO] [stderr]   Downloaded prost-derive v0.10.1
[INFO] [stderr]   Downloaded prettyplease v0.1.19
[INFO] [stderr]   Downloaded substreams-ethereum-abigen v0.1.9
[INFO] [stderr]   Downloaded prost v0.10.4
[INFO] [stderr]   Downloaded prost-types v0.10.1
[INFO] [stderr]   Downloaded prost-types v0.11.1
[INFO] [stderr]   Downloaded substreams-ethereum v0.1.9
[INFO] [stderr]   Downloaded substreams-ethereum-derive v0.1.9
[INFO] [stderr]   Downloaded wyz v0.5.0
[INFO] [stderr]   Downloaded byte-slice-cast v1.2.1
[INFO] [stderr]   Downloaded impl-trait-for-tuples v0.2.2
[INFO] [stderr]   Downloaded parity-scale-codec-derive v3.1.3
[INFO] [stderr]   Downloaded impl-serde v0.3.2
[INFO] [stderr]   Downloaded primitive-types v0.11.1
[INFO] [stderr]   Downloaded prost-build v0.10.4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+98e1f041b6e33598a18edb928ec9db93a850c6cb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a9d3b329366267c58ff81a48c35027fa41c4e601a3408deb7cde1b773f576f25
[INFO] running `Command { std: "docker" "start" "-a" "a9d3b329366267c58ff81a48c35027fa41c4e601a3408deb7cde1b773f576f25", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a9d3b329366267c58ff81a48c35027fa41c4e601a3408deb7cde1b773f576f25", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a9d3b329366267c58ff81a48c35027fa41c4e601a3408deb7cde1b773f576f25", kill_on_drop: false }`
[INFO] [stdout] a9d3b329366267c58ff81a48c35027fa41c4e601a3408deb7cde1b773f576f25
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+98e1f041b6e33598a18edb928ec9db93a850c6cb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b955051d3ab8a8d13cb3bfea19b24b62584138c32fdcbaeec1dc580bab02c4ab
[INFO] running `Command { std: "docker" "start" "-a" "b955051d3ab8a8d13cb3bfea19b24b62584138c32fdcbaeec1dc580bab02c4ab", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Checking substreams-helper v0.0.2 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `substreams_ethereum`
[INFO] [stdout]  --> src/erc20.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use substreams_ethereum::pb::eth as ethpb;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `substreams_ethereum`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `bigdecimal`
[INFO] [stdout]  --> src/erc20.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use bigdecimal::{BigDecimal};
[INFO] [stdout]   |     ^^^^^^^^^^ use of undeclared crate or module `bigdecimal`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `num_bigint`
[INFO] [stdout]  --> src/erc20.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use num_bigint::{BigInt};
[INFO] [stdout]   |     ^^^^^^^^^^ use of undeclared crate or module `num_bigint`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `bigdecimal`
[INFO] [stdout]  --> src/math.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use bigdecimal::{BigDecimal, One, Zero};
[INFO] [stdout]   |     ^^^^^^^^^^ use of undeclared crate or module `bigdecimal`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `num_bigint`
[INFO] [stdout]  --> src/math.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use num_bigint::{BigInt, BigUint};
[INFO] [stdout]   |     ^^^^^^^^^^ use of undeclared crate or module `num_bigint`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `pad`
[INFO] [stdout]  --> src/math.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use pad::PadStr;
[INFO] [stdout]   |     ^^^ use of undeclared crate or module `pad`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `substreams_ethereum`
[INFO] [stdout]  --> src/erc20.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use substreams_ethereum::pb::eth as ethpb;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `substreams_ethereum`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `bigdecimal`
[INFO] [stdout]  --> src/erc20.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use bigdecimal::{BigDecimal};
[INFO] [stdout]   |     ^^^^^^^^^^ use of undeclared crate or module `bigdecimal`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `num_bigint`
[INFO] [stdout]  --> src/erc20.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use num_bigint::{BigInt};
[INFO] [stdout]   |     ^^^^^^^^^^ use of undeclared crate or module `num_bigint`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `bigdecimal`
[INFO] [stdout]  --> src/math.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use bigdecimal::{BigDecimal, One, Zero};
[INFO] [stdout]   |     ^^^^^^^^^^ use of undeclared crate or module `bigdecimal`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `num_bigint`
[INFO] [stdout]  --> src/math.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use num_bigint::{BigInt, BigUint};
[INFO] [stdout]   |     ^^^^^^^^^^ use of undeclared crate or module `num_bigint`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `pad`
[INFO] [stdout]  --> src/math.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use pad::PadStr;
[INFO] [stdout]   |     ^^^ use of undeclared crate or module `pad`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hex`
[INFO] [stdout]   --> src/erc20.rs:14:39
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let rpc_calls = create_rpc_calls(&hex::decode(token_address).unwrap());
[INFO] [stdout]    |                                       ^^^ use of undeclared crate or module `hex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hex`
[INFO] [stdout]   --> src/erc20.rs:14:39
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let rpc_calls = create_rpc_calls(&hex::decode(token_address).unwrap());
[INFO] [stdout]    |                                       ^^^ use of undeclared crate or module `hex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `substreams_ethereum`
[INFO] [stdout]   --> src/erc20.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |         substreams_ethereum::rpc::eth_call(&rpc_calls);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `substreams_ethereum`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `substreams_ethereum`
[INFO] [stdout]   --> src/erc20.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |         substreams_ethereum::rpc::eth_call(&rpc_calls);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `substreams_ethereum`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hex`
[INFO] [stdout]   --> src/erc20.rs:77:20
[INFO] [stdout]    |
[INFO] [stdout] 77 |     let decimals = hex::decode("313ce567").unwrap();
[INFO] [stdout]    |                    ^^^ use of undeclared crate or module `hex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hex`
[INFO] [stdout]   --> src/erc20.rs:77:20
[INFO] [stdout]    |
[INFO] [stdout] 77 |     let decimals = hex::decode("313ce567").unwrap();
[INFO] [stdout]    |                    ^^^ use of undeclared crate or module `hex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hex`
[INFO] [stdout]   --> src/erc20.rs:78:16
[INFO] [stdout]    |
[INFO] [stdout] 78 |     let name = hex::decode("06fdde03").unwrap();
[INFO] [stdout]    |                ^^^ use of undeclared crate or module `hex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hex`
[INFO] [stdout]   --> src/erc20.rs:78:16
[INFO] [stdout]    |
[INFO] [stdout] 78 |     let name = hex::decode("06fdde03").unwrap();
[INFO] [stdout]    |                ^^^ use of undeclared crate or module `hex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hex`
[INFO] [stdout]   --> src/erc20.rs:79:18
[INFO] [stdout]    |
[INFO] [stdout] 79 |     let symbol = hex::decode("95d89b41").unwrap();
[INFO] [stdout]    |                  ^^^ use of undeclared crate or module `hex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hex`
[INFO] [stdout]   --> src/erc20.rs:79:18
[INFO] [stdout]    |
[INFO] [stdout] 79 |     let symbol = hex::decode("95d89b41").unwrap();
[INFO] [stdout]    |                  ^^^ use of undeclared crate or module `hex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `math`
[INFO] [stdout]  --> src/erc20.rs:1:20
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::{utils, math};
[INFO] [stdout]   |                    ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::str::FromStr`
[INFO] [stdout]  --> src/math.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::str::FromStr;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `math`
[INFO] [stdout]  --> src/erc20.rs:1:20
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::{utils, math};
[INFO] [stdout]   |                    ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::str::FromStr`
[INFO] [stdout]  --> src/math.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::str::FromStr;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `pad_to_width_with_char` found for reference `&'static str` in the current scope
[INFO] [stdout]   --> src/math.rs:45:13
[INFO] [stdout]    |
[INFO] [stdout] 45 |         "1".pad_to_width_with_char((decimals + 1) as usize, '0')
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^ method not found in `&'static str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `pad_to_width_with_char` found for reference `&'static str` in the current scope
[INFO] [stdout]   --> src/math.rs:45:13
[INFO] [stdout]    |
[INFO] [stdout] 45 |         "1".pad_to_width_with_char((decimals + 1) as usize, '0')
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^ method not found in `&'static str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Div`
[INFO] [stdout]  --> src/math.rs:4:21
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::ops::{Add, Div, Mul};
[INFO] [stdout]   |                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Mul`
[INFO] [stdout]  --> src/math.rs:4:26
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::ops::{Add, Div, Mul};
[INFO] [stdout]   |                          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Add`
[INFO] [stdout]  --> src/math.rs:4:16
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::ops::{Add, Div, Mul};
[INFO] [stdout]   |                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Div`
[INFO] [stdout]  --> src/math.rs:4:21
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::ops::{Add, Div, Mul};
[INFO] [stdout]   |                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Mul`
[INFO] [stdout]  --> src/math.rs:4:26
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::ops::{Add, Div, Mul};
[INFO] [stdout]   |                          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Add`
[INFO] [stdout]  --> src/math.rs:4:16
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::ops::{Add, Div, Mul};
[INFO] [stdout]   |                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 12 previous errors; 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 12 previous errors; 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `substreams-helper` due to 13 previous errors; 5 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `substreams-helper` due to 13 previous errors; 5 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "b955051d3ab8a8d13cb3bfea19b24b62584138c32fdcbaeec1dc580bab02c4ab", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b955051d3ab8a8d13cb3bfea19b24b62584138c32fdcbaeec1dc580bab02c4ab", kill_on_drop: false }`
[INFO] [stdout] b955051d3ab8a8d13cb3bfea19b24b62584138c32fdcbaeec1dc580bab02c4ab
